.PHONY:all
all:TcpClient TcpServer

LDFALG=-DSeltDefine=1
TcpClient:TcpClient.cc
	g++ -o $@ $^ $(LDFALG) -ljsoncpp -std=c++14
TcpServer:TcpServer.cc
	g++ -o $@ $^ $(LDFALG) -ljsoncpp -std=c++14 -lpthread

.PHONY:clean
clean:
	rm -f TcpClient TcpServer